/* debug.c -- functions to debug engcur
 *
 * Time-stamp: <2007-06-26 15:17:48 BRT Diogo F. S. Ramos>
 *
 *
 */
#include <stdlib.h>
#include <stdio.h>

#include "../includes/engcur.h"
#include "../includes/support.h"

typedef struct _disc_str
{
    char disc_cod[20];
    char disc_name[60];
    int disc_cred;
}disc_str;

typedef struct _seed_str
{
    int day;
    int begin;
    int end;
}seed_str;

void
debug( void )
{
    /*  
    disc_str discs[] = 
	{
	    { "SCC-0600", "Sitemas 2", 4 },
	    { "SCE-400", "Avancados", 3 },
	    { "ABC-346", "Alagados", 2 },
	    { "OI, TUDO BEM?", "Sim, e ai?", 5 },
	    { "FDG-56", "Legal", 4 },
	};
    seed_str seeds[] =
	{
	    { MONDAY, 920, 1200 },
	    { SUNDAY, 1010, 1200 },
	    { MONDAY, 800, 1000 },
	    { FRIDAY, 1320, 1400 },
	    { SATURDAY, 1620, 1800 },
	};
    		
    int total;
    int i = 0;
    discipline **list_disc = NULL;
    discipline *disc = NULL;
    seed *see = NULL;
*/
    int a = 5400;
    char b[6];

    time_toString( b, a );
    printf("String:%s\n", b );
    a = time_toInteger( b );
    printf("Integer:%d\n", a);
    time_toString( b, a );
    printf("String:%s\n", b );
    
    
    
}
